/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    location    "system";
    object      functions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#includeFunc graphCell
(
    name=graph,
    start=(0 0 1e-3),
    end=(0.44 0 1e-3),
    fields=(TiCl4.vapour O2.vapour Cl2.vapour alpha.particles)
)

#includeFunc populationBalanceSizeDistribution
(
    name=numberDensity,
    populationBalance=aggregates,
    cellZone=
    {
        type        cylinder;
        point1      (0.435 0 0);
        point2      (0.44 0 0);
        radius      0.015875;
    },
    functionType=numberDensity,
    coordinateType=projectedAreaDiameter,
    allCoordinates=yes,
    normalise=yes,
    logTransform=yes
)

#includeFunc writeObjects
(
    reactionDrivenPhaseChange:mDot_TiO2,
    surfaceReactionDrivenPhaseChange:mDot_TiO2_s
)

// ************************************************************************* //
